package com.ruoyi.swla2.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水质检测仪-历史数据对象 t_wq_history_data
 *
 * @author gdqt
 * @date 2024-09-09
 */
public class WqHistoryData extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 平台表单自增主键
     */
    private Long ID;

    /**
     * 设备MN号
     */
    @Excel(name = "设备MN号")
    private String mn;

    /**
     * 租户ID
     */
    @Excel(name = "租户ID")
    private String tenantId;

    /**
     * PH
     */
    @Excel(name = "PH")
    private String w01001Rtd;

    /**
     * 溶解氧:mg/L
     */
    @Excel(name = "溶解氧:mg/L")
    private String w01009Rtd;

    /**
     * 水温
     */
    @Excel(name = "水温")
    private String w01010Rtd;

    /**
     * 电导率:微西[门子]/厘米
     */
    @Excel(name = "电导率:微西[门子]/厘米")
    private String w01014Rtd;

    /**
     * 浊度
     */
    @Excel(name = "浊度")
    private String w01003Rtd;

    /**
     * 总氮:毫克/升
     */
    @Excel(name = "总氮:毫克/升")
    private String w21001Rtd;

    /**
     * 总磷:毫克/升
     */
    @Excel(name = "总磷:毫克/升")
    private String w21011Rtd;

    /**
     * 氨氮:毫克/升
     */
    @Excel(name = "氨氮:毫克/升")
    private String w21003Rtd;

    /**
     * 抄表时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "抄表时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date DataTime;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date CreateDate;

    public void setID(Long ID) {
        this.ID = ID;
    }

    public Long getID() {
        return ID;
    }

    public void setMn(String mn) {
        this.mn = mn;
    }

    public String getMn() {
        return mn;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setW01001Rtd(String w01001Rtd) {
        this.w01001Rtd = w01001Rtd;
    }

    public String getW01001Rtd() {
        return w01001Rtd;
    }

    public void setW01009Rtd(String w01009Rtd) {
        this.w01009Rtd = w01009Rtd;
    }

    public String getW01009Rtd() {
        return w01009Rtd;
    }

    public void setW01010Rtd(String w01010Rtd) {
        this.w01010Rtd = w01010Rtd;
    }

    public String getW01010Rtd() {
        return w01010Rtd;
    }

    public void setW01014Rtd(String w01014Rtd) {
        this.w01014Rtd = w01014Rtd;
    }

    public String getW01014Rtd() {
        return w01014Rtd;
    }

    public void setW01003Rtd(String w01003Rtd) {
        this.w01003Rtd = w01003Rtd;
    }

    public String getW01003Rtd() {
        return w01003Rtd;
    }

    public void setW21001Rtd(String w21001Rtd) {
        this.w21001Rtd = w21001Rtd;
    }

    public String getW21001Rtd() {
        return w21001Rtd;
    }

    public void setW21011Rtd(String w21011Rtd) {
        this.w21011Rtd = w21011Rtd;
    }

    public String getW21011Rtd() {
        return w21011Rtd;
    }

    public void setW21003Rtd(String w21003Rtd) {
        this.w21003Rtd = w21003Rtd;
    }

    public String getW21003Rtd() {
        return w21003Rtd;
    }

    public void setDataTime(Date DataTime) {
        this.DataTime = DataTime;
    }

    public Date getDataTime() {
        return DataTime;
    }

    public void setCreateDate(Date CreateDate) {
        this.CreateDate = CreateDate;
    }

    public Date getCreateDate() {
        return CreateDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ID", getID())
                .append("mn", getMn())
                .append("tenantId", getTenantId())
                .append("w01001Rtd", getW01001Rtd())
                .append("w01009Rtd", getW01009Rtd())
                .append("w01010Rtd", getW01010Rtd())
                .append("w01014Rtd", getW01014Rtd())
                .append("w01003Rtd", getW01003Rtd())
                .append("w21001Rtd", getW21001Rtd())
                .append("w21011Rtd", getW21011Rtd())
                .append("w21003Rtd", getW21003Rtd())
                .append("DataTime", getDataTime())
                .append("CreateDate", getCreateDate())
                .toString();
    }
}
